package com.mall.service;

import com.mall.entity.User;
import com.mall.vo.WebResult;

import javax.servlet.http.Part;

public interface UserService {

    //将用户登录，并检验是否存在
    public WebResult login(User user);

    public WebResult sendcode(String email,String code);

    WebResult editor(User user,long id);
    String uploadpic(Part image);
}
